package cn.jwtool.jwcache.buffer.listener;

import cn.jwtool.jwcache.buffer.config.JwcatchConfig;

/**
 * @author : willian fu
 * @version : 1.0
 */
public class AofEventListener implements EventListener{

    @Override
    public void eventHandler(Event event, Object...param) {
        if (event.equals(Event.AOF_LOG)
                && JwcatchConfig.getLogOpen()
                && "AOF".equalsIgnoreCase(JwcatchConfig.getLogType())){
            //写日志

        }
    }
}
